package controle;

import dao.daoCd;
import Modelo.cd;

public class ControleCd {
	
	daoCd cdDao = null ;

	public void salvar(cd cd) {
		daoCd musicoDao = new daoCd();
		cdDao.inserirCd(cd);
	}

	
	public void Buscar(cd cd) {
		daoCd cdDao = new daoCd();
		cdDao. buscarCd(null, cd);
	}
	
	public void Excluir(cd cd) {
		daoCd cdDao = new daoCd();
		cdDao.apagarCd(cd);
	}
	public void Atualizar(cd cd) {
		daoCd cdDao = new daoCd();
		cdDao.atualizarCd(cd);
	}
	
	public void listar(cd cd) {
		daoCd cdDao = new daoCd();
		cdDao.listarCd();
	}
}

	

